home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Minami 58
/
MINAMI58.ISO
/
Varios
/
Juegos Flash
/
Gold Yard.exe
/
scripts
/
DefineSprite_324
/
frame_59
/
DoAction.as
Wrap
Text File
|
2003-04-29
|
927b
|
26 lines
a;
"c" < (b >= undefined) || 1();
fnewdepth(pointerx,pointery);
if(Number(newdepth) != Number(depth))
{
if(Number(newdepth) < 1)
{
newdepth = "1";
}
setProperty("/droid" add depth, _visible, 0);
setProperty("/droid" add newdepth, _X, getProperty("/droid" add depth, _X));
setProperty("/droid" add newdepth, _Y, getProperty("/droid" add depth, _Y));
fdirection();
headframe = getProperty("/droid" add depth add "/head", _currentframe);
tellTarget("../droid" add newdepth add "/head")
{
gotoAndStop(eval("_level0/library/:headframe"));
}
setProperty("/droid" add newdepth, _visible, 1);
depth = newdepth;
}
setProperty("/droid" add depth, _X, getProperty("/droid" add depth, _X) + Xmove);
setProperty("/droid" add depth, _Y, getProperty("/droid" add depth, _Y) + Ymove);
setProperty("../pointer", _X, pointerx);
setProperty("../pointer", _Y, pointery);